/*
 * Group:PrePool K9-357 
 * 8/2010
 */
package control;

import java.io.IOException;

import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.PortletException;

import form.LogoutForm;
import form.S09Form;

/**
 * Control class for S09_ManagerHome.jsp Methods is called in method
 * processAction(ActionRequest request, ActionResponse response) of
 * OnlineDictPortlet class
 */
public class ManagerHome {
	/**
	 * Perform when click Home button
	 * 
	 * @param request
	 * @param response
	 * @throws PortletException
	 * @throws IOException
	 */
	public void procHome(ActionRequest request, ActionResponse response)
			throws PortletException, IOException {

	}
	public S09Form procCheckApprWord(ActionRequest request, ActionResponse response)
	throws PortletException, IOException {
		S09Form s09Form= new S09Form();
		s09Form.setDicID(Integer.valueOf(request.getParameter("dictId")));
		return s09Form;
}
	/**
	 * Perform when click Logout Button
	 * 
	 * @param request
	 * @param response
	 * @return
	 * @throws PortletException
	 * @throws IOException
	 */
	public form.LogoutForm procLogout(ActionRequest request,
			ActionResponse response) throws PortletException, IOException {
		return (new LogoutForm());
	}
	
	public S09Form procCheckReviewWord(ActionRequest request, ActionResponse response)
			throws PortletException, IOException {
		S09Form s09Form= new S09Form();
		s09Form.setDicID(Integer.valueOf(request.getParameter("dictId")));
		return s09Form;
	}
	public void procChangePass (ActionRequest request, ActionResponse response)
			throws PortletException, IOException {
		
		
		
	}
}
